<?php
namespace app\beautiful\model\project;
use app\common\model\CommonModel;

class OnceCardItemModel extends CommonModel{
    protected  $name = 'beautiful_once_card_item';
    protected  $pk   = 'once_card_item_id';

    public function project()
    {
        return $this->hasOne(ProjectModel::class,'project_id','project_id');
    }
}
